package aiku.numericalcontroloa.Model.Entity.FinanceManagement;

import aiku.numericalcontroloa.Model.Entity.BaseEntity;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.io.Serializable;
import java.math.BigDecimal;

/**
 * 账号类
 * @Author 黄广庭
 * @Date 2024/5/7 11:39
 */
@EqualsAndHashCode(callSuper = true)
@Data
@TableName(value = "account")
public class Account extends BaseEntity implements Serializable {
    /**
     * 开户名
     */
    @TableField(value = "account_name")
    private String accountName;

    /**
     * 账号
     */
    @TableField(value = "account")
    private String account;

    /**
     * 余额
     */
    @TableField(value = "balance")
    private BigDecimal balance;

    /**
     * 账号备注
     */
    @TableField(value = "account_remark")
    private String accountRemark;
}
